<!DOCTYPE html>
<html lang="zh">
<html xmlns:th="http://www.thymeleaf.org">
<head th:replace="common/header :: header(~{::title},~{::link},~{})">

    <title>日报详情</title>
    <link rel="icon" th:href="@{/assets/img/lcxm.ico}" type="image/ico">
    <link rel="stylesheet" th:href="@{/assets/css/common.css}">
</head>
<body class="body">
    <div class="row row-nocol">
        <table class="table table-condensed">
            <tr>
                <th>姓名: </th>
                <th th:text="${day.user?.userName}" class="text-info">张三</th>
                <th>日期: </th>
                <th th:text="${day.day}" class="text-info">2024-12-12</th>
                <th>当日工时</th>
                <th th:text="${day.duration}" class="text-info">100</th>

            </tr>
        </table>
        <!--列表栏-->
        <form class="nocol">
            <table class="table table-striped  table-hover table-bordered stable">
                <thead>
                <tr class="text-center">
                    <th>JIRA</th>
                    <th>项目</th>
                    <th>工时(分钟)</th>
                    <th>内容</th>
                </tr>
                </thead>
                <tbody align="center">
                <tr th:each="cur:${day?.reports}">
                    <td th:text="${cur.jira}"></td>
                    <td th:text="${#strings.abbreviate(cur.projectName,10)}"
                        data-toggle="tooltip"
                        th:title="${cur.projectName}"></td>
                    <td th:text="${cur.duration}">100</td>
                    <td style="white-space: pre-wrap"
                        th:text="${cur.content}">content</td>
                </tr>
                </tbody>
            </table>
        </form>
    </div>

    <!-- 引入通用js-->
    <!--<div th:replace="common/footer :: connomjs"></div>-->

</body>
</html>